package com.yige.service.mongoService

import com.mongodb.DBCollection
import com.yige.common.SystemConstant
import com.yige.service.ManagerService
import org.springframework.stereotype.Service

/**
 * Created by sunhao on 2015/11/5 0005.
 */

@Service
class MongoManagerService extends BasicMongoServiceImp implements ManagerService{

    @Override
    DBCollection getCollection() {
        return mongoTemplate.getCollection(SystemConstant.MONGODB_COL_MANAGER)
    }
}
